package com.code.feign.feign;

import org.springframework.stereotype.Component;

/**
 * @author liyufei
 * @since 2018-12-07 22:46
 */
@Component
public class InvokeErrorHystrix implements ProduceApi {

    @Override
    public String index(String name, String port) {
        return "sorry " + name + ", 我是：" + port;
    }
}
